<!doctype HTML>
<body>
PASS if no crash.
<script>
if (window.testRunner)
  testRunner.dumpAsText();

const elem = document.createElement('elem');
document.body.appendChild(elem);
elem.animate([
  { "filter": "url(#a)", }, {}
], {
  duration:1000,
});

elem.animate([
  { "filter": "hue-rotate(-0.8turn)", }, {}
], {
  duration:1000,
  composite:"accumulate",
});
</script>
</body>
